import { request } from "@/utils/request002";

// 分页
export const queryAllStudent = (data: any) => {
  return request({
    url: '/teaching/goodsOrder/allStudent',
    method: 'POST',
    data
  })
}

// 新增
export const addStudentInfo = (data: any) => {
  return request({
    url: '/teaching/goodsOrder/addStudentInfo',
    method: 'POST',
    data
  })
}

// 删除
export const deleteStudent = (data: any) => {
  return request({
    url: '/teaching/goodsOrder/deleteStudentInfo',
    method: 'POST',
    data
  })
}

// 编辑
export const editStu = (data: any) => {
  return request({
    url: '/teaching/goodsOrder/editStuInfo',
    method: 'POST',
    data
  })
}